import { Module } from '@nestjs/common';
import { AppController } from './app.controller';
import { AppService } from './app.service';
import { UserModule } from './server/user/user.module';
import { FixedModule } from './server/fixed/fixed.module';
import { BookingModule } from './server/booking/booking.module';
import { ContactModule } from './server/contact/contact.module';
import { MongooseModule } from '@nestjs/mongoose'
import { CatygoryModule } from './server/catygory/catygory.module';

@Module({
  imports: [MongooseModule.forRoot('mongodb://127.0.0.1:27017/xxfix'), UserModule, FixedModule, BookingModule, ContactModule, CatygoryModule],
  controllers: [AppController],
  providers: [AppService],
})
export class AppModule {}
